home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / nvram.z / nvram
Encoding:
Text File  |  2002-10-03  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. nnnnvvvvrrrraaaammmm((((1111MMMM))))                                                            nnnnvvvvrrrraaaammmm((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      nvram, sgikopt - get or set non-volatile RAM variables
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      nnnnvvvvrrrraaaammmm [----vvvv] [_n_a_m_e [_v_a_l_u_e]]
  13.      ssssggggiiiikkkkoooopppptttt [_n_a_m_e...]
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      _n_v_r_a_m can be used to set or print the values of non-volatile RAM
  17.      variables.
  18.  
  19.      When invoked with no arguments, _n_v_r_a_m displays all known variables in the
  20.      _n_a_m_e=_v_a_l_u_e form.  The _n_v_r_a_m arguments are:
  21.  
  22.      _n_a_m_e    Print the value of _n_a_m_e.
  23.  
  24.      _v_a_l_u_e   If _n_a_m_e is defined in non-volatile RAM, replace _n_a_m_e's definition
  25.              string with _v_a_l_u_e.
  26.  
  27.      ----vvvv      Print a line of the form _n_a_m_e=_v_a_l_u_e after getting or setting the
  28.              named variable.
  29.  
  30.      If invoked as _s_g_i_k_o_p_t, more than one _n_a_m_e can be given.  _n_a_m_es that do
  31.      not match known variables are ignored.
  32.  
  33.      The exit status is 1 if any arguments do not match and 0 otherwise.
  34.  
  35. NNNNOOOOTTTTEEEESSSS
  36.      Non-volatile RAM contains a small set of well-known strings at fixed
  37.      offsets.  _n_v_r_a_m can not be used to define new variables.
  38.  
  39.      Only the superuser can set variables.
  40.  
  41.      The term "non-volatile RAM" is somewhat misleading, because some
  42.      variables are placed only in volatile RAM and are reset on power-up.
  43.      Different systems have different mixes of volatile and non-volatile
  44.      variables.
  45.  
  46. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  47.      If an attempt to get or set a variable fails for any reason, _n_v_r_a_m prints
  48.      an appropriate message on standard error and exits with non-zero status.
  49.  
  50.      Not all systems support the ability to change the contents of non-
  51.      volatile memory with the _n_v_r_a_m command.  To change the contents of non-
  52.      volatile memory on systems that do not support _n_v_r_a_m, you must use the
  53.      PROM monitor _s_e_t_e_n_v command.
  54.  
  55. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  56.      prom(1M), sgikopt(2), syssgi(2).
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.